<template>
    <div class="container">
        <div class="loadding"></div>
        <p class="title">正在加载...</p>
    </div >
</template>
<script>
    export default {
        name: 'Loadding'
    }
</script>
<style  scoped >
    .container {
        width: 200px;
        height: 200px;
        border-radius: 20px;
        background: rgba(0,0,0,0.5);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .loadding{
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 5px solid #fff;
        margin: 20px auto;
        border-right-color: #409eff;
        animation: loading 2s linear infinite;

    }
    @keyframes loading {
        form{
            transform: rotate(0deg);
        }
        to{
            transform: rotate(360deg);
        }
    }

    .title{
        text-align: center;
        font-size: 16px;
        color: #fff;
    }
    
</style>